package Com.amit.Exception;



class Anil
{
	void m1()throws Exception
	
	{
		System.out.println("Parent");
	}
}

public class Lab24  extends Anil{

	void m1() 
	{
		System.out.println("Child");
	}
	public static void main(String[] args) throws Exception {
		
		Anil l=new Lab24();
		l.m1();
		
	}

}
